home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7430 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: surfnet.nl!sun4nl!xs4all!falstaff
  2. From: falstaff@xs4all.nl (Falstaff)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Parsing an input stream?
  5. Date: 26 Feb 1996 15:42:12 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4gskck$d0m@news.xs4all.nl>
  8. References: <4gsep9$ho8@srvr1.engin.umich.edu>
  9. NNTP-Posting-Host: xs1.xs4all.nl
  10. X-Newsreader: NN version 6.5.0 #666 (NOV)
  11.  
  12. newberry@news-server.engin.umich.edu (byron lee newberry) writes:
  13.  
  14. >Hello,
  15.  
  16. >I am currently working on coding a symbolic manipulation program to perform
  17. >tasks such as mutliplying out large polynomials, etc.  I have a pretty
  18. >good idea how to program the beast except for the parsing of the input
  19. >stream.  I have built up a very simple parser using basic string manipulation
  20. >functions, but it is very crued.  Are libraries around that make this 
  21. >a simplier job?  It would seem to me that parsing would be a common task.
  22.  
  23. So common, in fact, that specialized tools exist to make parsers.
  24. Yacc and lex are generally available on any UNIX system, and can
  25. be used to create efficient parsers (and many compilers use a
  26. yacc/lex generated front end).
  27. You could try comp.compilers, but that tends to be rather technical
  28. (now discussing van Wijngaarden grammars, for example).
  29.  
  30. Frank
  31. --
  32. The famous GIICM now on line:  http://www.xs4all.nl/~falstaff/GIICM.html
  33. ------------------------------------------------------------------------
  34. Frank A. Vorstenbosch        +31-(70)-355 5241        falstaff@xs4all.nl
  35.